package cn.gzjp.modules.logis.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.gzjp.common.persistence.Page;
import cn.gzjp.common.service.CrudService;
import cn.gzjp.modules.logis.entity.LogisCarRoad;
import cn.gzjp.modules.logis.dao.LogisCarRoadDao;

/**
 * 司机车辆路线Service
 * @author zengcp
 * @version 2018-04-04
 */
@Service
@Transactional(readOnly = true)
public class LogisCarRoadService extends CrudService<LogisCarRoadDao, LogisCarRoad> {

	public LogisCarRoad get(String id) {
		return super.get(id);
	}
	
	public List<LogisCarRoad> findList(LogisCarRoad logisCarRoad) {
		return super.findList(logisCarRoad);
	}
	
	public Page<LogisCarRoad> findPage(Page<LogisCarRoad> page, LogisCarRoad logisCarRoad) {
		return super.findPage(page, logisCarRoad);
	}
	
	@Transactional(readOnly = false)
	public void save(LogisCarRoad logisCarRoad) {
		super.save(logisCarRoad);
	}
	
	@Transactional(readOnly = false)
	public void delete(LogisCarRoad logisCarRoad) {
		super.deleteByLogic(logisCarRoad);
	}
	
}